import App from "./App.vue";
import { createApp } from "vue";
import { createPinia } from 'pinia'
import piniaPersist from 'pinia-plugin-persist'

import router from "./router";

import "./assets/style/main.scss";

import vant from "vant";
import "vant/lib/index.css";
import AppForm from "@/components/AppForm.vue";

const app = createApp(App);
const pinia = createPinia()
pinia.use(piniaPersist)


app.use(pinia)
  .use(router)
  .use(vant)
  .mount("#app");

app.component('AppForm',AppForm)




